package pe.gob.sedapal.scmultimedia.service.impl;

import java.util.HashMap;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import pe.gob.sedapal.scmultimedia.dao.LogEstadisticoDAO;
import pe.gob.sedapal.scmultimedia.service.LogEstadisticoService;
@Service("logEstadisticoService")
public class LogEstadisticoServiceImpl implements LogEstadisticoService {

	@Autowired
	private LogEstadisticoDAO logEstadisticoDAO;
	
	@Override
	public void ActualizarDatos(String programa, Long codUnicom, Long codAccion) {
		// TODO Auto-generated method stub
		HashMap<String, Object> map = new HashMap<String, Object>();
		map.put("programa", programa);
		map.put("codUnicom", codUnicom);
		map.put("codAccion", codAccion);
		logEstadisticoDAO.ActualizarLog(map);
	}
}
